/**
 * Created by luckyjing on 16/3/27.
 */
var toolController = require('../controllers/tool.server.controller');
var Util = require('../util/util');
module.exports = function (app) {
    app.route('/tool')
        .get(Util.requireLogin,toolController.list)
        .post(Util.requireLogin,toolController.addTool);
};